import { actionTypes } from '@/common/constants/actionType';
import { combineReducers } from 'redux';
import { handleActions } from 'redux-actions';

export const productionPlanList = handleActions(
  {
    [`${actionTypes.SLAUGHTER_FETCH_PRODUCTION_PLAN_LIST_SUCCESS}`]: (state, action) => {
      return action.payload
    }
  },
  null,
);


export const slaughter = combineReducers({
  productionPlanList,
});
